﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Management.Systeam.Domaina
{
    public class DepartMents: BaseEntity
    { //自增
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int? Department_Id { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? Department_Name { get; set; }
        /// <summary>
        /// 父级部门名称
        /// </summary>
        public string? Parent_Department { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? Department_IsDel { get; set; }
    }
}
